<div class="luachons view">
<h2><?php  __('Luachon');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $luachon['Luachon']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tieuchi'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($luachon['Tieuchi']['id'], array('controller' => 'tieuchis', 'action' => 'view', $luachon['Tieuchi']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Luachon'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $luachon['Luachon']['luachon']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Sửa', true), array('action' => 'edit', $luachon['Luachon']['id'])); ?> </li>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $luachon['Luachon']['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $luachon['Luachon']['id'])); ?> </li>
		<li><?php echo $html->link(__('Danh sách lựa chọn', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm lựa chọn', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách tiêu chí', true), array('controller' => 'tieuchis', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm tiêu chí', true), array('controller' => 'tieuchis', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách bầu chọn', true), array('controller' => 'bauchons', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm bầu chọn', true), array('controller' => 'bauchons', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php  __('Related Bauchons');?></h3>
	<?php if (!empty($luachon['Bauchon'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $luachon['Bauchon']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sinhvien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $luachon['Bauchon']['sinhvien_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Luachon Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $luachon['Bauchon']['luachon_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaychon');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $luachon['Bauchon']['ngaychon'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa bầu chọn', true), array('controller' => 'bauchons', 'action' => 'edit', $luachon['Bauchon']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Bauchons');?></h3>
	<?php if (!empty($luachon['Bauchon'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Luachon Id'); ?></th>
		<th><?php __('Ngaychon'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($luachon['Bauchon'] as $bauchon):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $bauchon['id'];?></td>
			<td><?php echo $bauchon['sinhvien_id'];?></td>
			<td><?php echo $bauchon['luachon_id'];?></td>
			<td><?php echo $bauchon['ngaychon'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'bauchons', 'action' => 'view', $bauchon['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'bauchons', 'action' => 'edit', $bauchon['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'bauchons', 'action' => 'delete', $bauchon['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $bauchon['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Bầu chọn mới', true), array('controller' => 'bauchons', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
